<?php

include "config.php";

$sql = mysql_query("Select * from img limit 5");

echo "<div id = show><table width = '100%'>";
echo "<th>Imagem</th><th>Reputação</th><tr>";
while ($row = mysql_fetch_array($sql)){

echo "<td>".$row['nome']."</td><td>".$row['rep']."</td><tr>";

}
echo "</table></div>";


 ?>